package com.fong.spring_cloud_consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * 消费者启动类
 * @author fong
 *
 */
@SpringBootApplication // 标注spring boot 应用
@EnableDiscoveryClient // 标注为一个服务提供者/消费者，将会到服务注册中心/发现服务
@EnableFeignClients // 开启远程调用
public class SpringCloudConsumerApplication {

	public static void main( String[] args ) {
		SpringApplication.run( SpringCloudConsumerApplication.class, args );
	}

}
